package com.mb.demo.controller;

import lombok.extern.slf4j.Slf4j;

@Slf4j(topic = "ThreadTest1")
public class ThreadTest1 {

    public static void main(String[] args) {
        Thread t = new Thread(){
            @Override
            public void run() {
                log.info("runing.....");
                System.out.println("runing.....");
            }
        };

        t.start();
        System.out.println("runing.....");
        log.info("runing.....");
    }

}
